package com.sunxd.vue.domain.bean.enums;

import lombok.Getter;

/**
 * @author sun.xd
 * @description: description
 * @date 2024/4/2 15:56
 */
@Getter
public enum ErrorEnum {

    LOGIN_ERR(50001, "用户不存在~"),
    NOT_LOGIN(50002, "未登录~");

    private Integer code;
    private String errMsg;

    ErrorEnum(int code, String errMsg) {
        this.code = code;
        this.errMsg = errMsg;
    }
}
